﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Synthesize.BaseSet.ServiceInterface.Dtos.Authority.Department
{
    public class GetDepartmentTreeListOutput
    {
        public GetDepartmentTreeListOutput() {

            Children = new List<GetDepartmentTreeListOutput>();
        }

        /// <summary>
        /// Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 父节点Id
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public decimal Sort { get; set; }

        /// <summary>
        /// 子节点
        /// </summary>
        public List<GetDepartmentTreeListOutput> Children { get; set; }

    }
}
